from django.urls import path
from apps.areas.views import ProvienceView,SubAreaView

urlpatterns = [
    # 获取省信息
    path('areas/', ProvienceView.as_view()),
    # 获取市县区信息
    path('areas/<parent_id>/', SubAreaView.as_view()),
]
